From: Debian Rust Maintainers Date: Thu, 24 Apr 2025 19:36:28 +0000 (+0000) Subject: built-using X-Git-Tag: archive/raspbian/0.17.14-5+rpi1~9 X-Git-Url: https://dgit.raspbian.org/%22http:/www.example.com/%22mailto:kde%40ewsoftware.de//%22style.css/%22/%22http:/www.example.com/%22mailto:kde%40ewsoftware.de/%22style.css/%22?a=commitdiff_plain;h=2bc92b57d891de2f8edd4807328d74849de78424;p=rust-ring.git built-using Gbp-Pq: Name built-using.patch --- diff --git a/build.rs b/build.rs index 9843ad8..fda7163 100644 --- a/build.rs +++ b/build.rs @@ -266,6 +266,9 @@ const APPLE_ABI: &[&str] = &["ios", "macos", "tvos", "visionos", "watchos"]; const WINDOWS: &str = "windows"; fn main() { + println!("dh-cargo:deb-built-using=ring_core_{}_{}_{}_=0={}", std::env::var("CARGO_PKG_VERSION_MAJOR").unwrap(), std::env::var("CARGO_PKG_VERSION_MINOR").unwrap(), std::env::var("CARGO_PKG_VERSION_PATCH").unwrap(), std::env::var("CARGO_MANIFEST_DIR").unwrap()); + println!("dh-cargo:deb-built-using=ring_core_{}_{}_{}__test=0={}", std::env::var("CARGO_PKG_VERSION_MAJOR").unwrap(), std::env::var("CARGO_PKG_VERSION_MINOR").unwrap(), std::env::var("CARGO_PKG_VERSION_PATCH").unwrap(), std::env::var("CARGO_MANIFEST_DIR").unwrap()); + // Avoid assuming the working directory is the same is the $CARGO_MANIFEST_DIR so that toolchains // which may assume other working directories can still build this code. let c_root_dir = PathBuf::from(